.class Lcom/netease/newsreader/appwidget/WidgetService4x3$2;
.super Landroid/os/Handler;
.source "WidgetService4x3.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/appwidget/WidgetService4x3;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/appwidget/WidgetService4x3;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/appwidget/WidgetService4x3;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/appwidget/WidgetService4x3$2;->this$0:Lcom/netease/newsreader/appwidget/WidgetService4x3;

    .line 362
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 5
    .parameter "msg"

    .prologue
    .line 366
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 367
    iget v1, p1, Landroid/os/Message;->what:I

    packed-switch v1, :pswitch_data_0

    .line 392
    :goto_0
    return-void

    .line 370
    :pswitch_0
    iget-object v1, p0, Lcom/netease/newsreader/appwidget/WidgetService4x3$2;->this$0:Lcom/netease/newsreader/appwidget/WidgetService4x3;

    iget-object v1, v1, Lcom/netease/newsreader/appwidget/WidgetService4x3;->bitmap1:Landroid/graphics/Bitmap;

    if-eqz v1, :cond_0

    .line 371
    iget-object v1, p0, Lcom/netease/newsreader/appwidget/WidgetService4x3$2;->this$0:Lcom/netease/newsreader/appwidget/WidgetService4x3;

    invoke-static {v1}, Lcom/netease/newsreader/appwidget/WidgetService4x3;->access$9(Lcom/netease/newsreader/appwidget/WidgetService4x3;)Landroid/widget/RemoteViews;

    move-result-object v1

    const v2, 0x7f0c019a

    iget-object v3, p0, Lcom/netease/newsreader/appwidget/WidgetService4x3$2;->this$0:Lcom/netease/newsreader/appwidget/WidgetService4x3;

    iget-object v3, v3, Lcom/netease/newsreader/appwidget/WidgetService4x3;->bitmap1:Landroid/graphics/Bitmap;

    invoke-virtual {v1, v2, v3}, Landroid/widget/RemoteViews;->setImageViewBitmap(ILandroid/graphics/Bitmap;)V

    .line 373
    :cond_0
    iget-object v1, p0, Lcom/netease/newsreader/appwidget/WidgetService4x3$2;->this$0:Lcom/netease/newsreader/appwidget/WidgetService4x3;

    iget-object v1, v1, Lcom/netease/newsreader/appwidget/WidgetService4x3;->bitmap2:Landroid/graphics/Bitmap;

    if-eqz v1, :cond_1

    .line 374
    iget-object v1, p0, Lcom/netease/newsreader/appwidget/WidgetService4x3$2;->this$0:Lcom/netease/newsreader/appwidget/WidgetService4x3;

    invoke-static {v1}, Lcom/netease/newsreader/appwidget/WidgetService4x3;->access$9(Lcom/netease/newsreader/appwidget/WidgetService4x3;)Landroid/widget/RemoteViews;

    move-result-object v1

    const v2, 0x7f0c019f

    iget-object v3, p0, Lcom/netease/newsreader/appwidget/WidgetService4x3$2;->this$0:Lcom/netease/newsreader/appwidget/WidgetService4x3;

    iget-object v3, v3, Lcom/netease/newsreader/appwidget/WidgetService4x3;->bitmap2:Landroid/graphics/Bitmap;

    invoke-virtual {v1, v2, v3}, Landroid/widget/RemoteViews;->setImageViewBitmap(ILandroid/graphics/Bitmap;)V

    .line 376
    :cond_1
    iget-object v1, p0, Lcom/netease/newsreader/appwidget/WidgetService4x3$2;->this$0:Lcom/netease/newsreader/appwidget/WidgetService4x3;

    iget-object v1, v1, Lcom/netease/newsreader/appwidget/WidgetService4x3;->bitmap3:Landroid/graphics/Bitmap;

    if-eqz v1, :cond_2

    .line 377
    iget-object v1, p0, Lcom/netease/newsreader/appwidget/WidgetService4x3$2;->this$0:Lcom/netease/newsreader/appwidget/WidgetService4x3;

    invoke-static {v1}, Lcom/netease/newsreader/appwidget/WidgetService4x3;->access$9(Lcom/netease/newsreader/appwidget/WidgetService4x3;)Landroid/widget/RemoteViews;

    move-result-object v1

    const v2, 0x7f0c01a4

    iget-object v3, p0, Lcom/netease/newsreader/appwidget/WidgetService4x3$2;->this$0:Lcom/netease/newsreader/appwidget/WidgetService4x3;

    iget-object v3, v3, Lcom/netease/newsreader/appwidget/WidgetService4x3;->bitmap3:Landroid/graphics/Bitmap;

    invoke-virtual {v1, v2, v3}, Landroid/widget/RemoteViews;->setImageViewBitmap(ILandroid/graphics/Bitmap;)V

    .line 379
    :cond_2
    iget-object v1, p0, Lcom/netease/newsreader/appwidget/WidgetService4x3$2;->this$0:Lcom/netease/newsreader/appwidget/WidgetService4x3;

    new-instance v2, Landroid/content/ComponentName;

    iget-object v3, p0, Lcom/netease/newsreader/appwidget/WidgetService4x3$2;->this$0:Lcom/netease/newsreader/appwidget/WidgetService4x3;

    .line 380
    const-class v4, Lcom/netease/newsreader/appwidget/WidgetProvider_4_3;

    invoke-direct {v2, v3, v4}, Landroid/content/ComponentName;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 379
    invoke-static {v1, v2}, Lcom/netease/newsreader/appwidget/WidgetService4x3;->access$10(Lcom/netease/newsreader/appwidget/WidgetService4x3;Landroid/content/ComponentName;)V

    .line 381
    iget-object v1, p0, Lcom/netease/newsreader/appwidget/WidgetService4x3$2;->this$0:Lcom/netease/newsreader/appwidget/WidgetService4x3;

    iget-object v2, p0, Lcom/netease/newsreader/appwidget/WidgetService4x3$2;->this$0:Lcom/netease/newsreader/appwidget/WidgetService4x3;

    invoke-static {v2}, Landroid/appwidget/AppWidgetManager;->getInstance(Landroid/content/Context;)Landroid/appwidget/AppWidgetManager;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/netease/newsreader/appwidget/WidgetService4x3;->access$11(Lcom/netease/newsreader/appwidget/WidgetService4x3;Landroid/appwidget/AppWidgetManager;)V

    .line 383
    :try_start_0
    iget-object v1, p0, Lcom/netease/newsreader/appwidget/WidgetService4x3$2;->this$0:Lcom/netease/newsreader/appwidget/WidgetService4x3;

    invoke-static {v1}, Lcom/netease/newsreader/appwidget/WidgetService4x3;->access$12(Lcom/netease/newsreader/appwidget/WidgetService4x3;)Landroid/appwidget/AppWidgetManager;

    move-result-object v1

    iget-object v2, p0, Lcom/netease/newsreader/appwidget/WidgetService4x3$2;->this$0:Lcom/netease/newsreader/appwidget/WidgetService4x3;

    invoke-static {v2}, Lcom/netease/newsreader/appwidget/WidgetService4x3;->access$13(Lcom/netease/newsreader/appwidget/WidgetService4x3;)Landroid/content/ComponentName;

    move-result-object v2

    iget-object v3, p0, Lcom/netease/newsreader/appwidget/WidgetService4x3$2;->this$0:Lcom/netease/newsreader/appwidget/WidgetService4x3;

    invoke-static {v3}, Lcom/netease/newsreader/appwidget/WidgetService4x3;->access$9(Lcom/netease/newsreader/appwidget/WidgetService4x3;)Landroid/widget/RemoteViews;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/appwidget/AppWidgetManager;->updateAppWidget(Landroid/content/ComponentName;Landroid/widget/RemoteViews;)V
    :try_end_0
    .catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_0

    .line 389
    :goto_1
    iget-object v1, p0, Lcom/netease/newsreader/appwidget/WidgetService4x3$2;->this$0:Lcom/netease/newsreader/appwidget/WidgetService4x3;

    const/4 v2, 0x1

    invoke-static {v1, v2}, Lcom/netease/newsreader/appwidget/WidgetService4x3;->access$14(Lcom/netease/newsreader/appwidget/WidgetService4x3;Z)V

    goto :goto_0

    .line 384
    :catch_0
    move-exception v0

    .line 386
    .local v0, e:Ljava/lang/RuntimeException;
    invoke-virtual {v0}, Ljava/lang/RuntimeException;->printStackTrace()V

    goto :goto_1

    .line 367
    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
    .end packed-switch
.end method
